/*
 * @Author: Dufen~123 dufen.0
 * @Date: 2024-11-28 16:47:57
 * @LastEditors: Dufen~123 dufen.0
 * @LastEditTime: 2024-11-28 17:31:32
 * @FilePath: \my-project\src\components\commConent\commConent.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import React from 'react';
import {  Layout } from 'antd';
import dayjs from 'dayjs';

const {Footer,  Content } = Layout;
const contentStyle = {
    color: '#fff',
  };
  const footerStyle = {
    color: '#000c17',
    backgroundColor: '#f5f5f5',
    textAlign: 'center',
  };
  const layoutStyle = {
    borderRadius: 8,
    overflow: 'hidden',
    width: 'calc(100%)',
    height: 'calc(100%)',
  };
  const cardStyle = {
    width: 'calc(100%)',
    height: 'calc(100%)',
  }
 
const CommConent = () => {
    const now = dayjs();
    return(
        <Layout style={layoutStyle}>
              <Content style={contentStyle}>
             
              </Content>
              <Footer style={footerStyle}> 当前时间{now.format('YYYY-MM-DD')}</Footer>
        </Layout>
    )
}


export default CommConent